<template>
    <div>
        <div id="trigger4">选择开户行</div>
    </div>
</template>

<script>
    import MobileSelect from 'mobile-select'

    export default {
	    data(){
	    	return{
	    		data:["周日","周一","周二","周三","周四","周五","周六"]
	    	}
	    },
	    methods:{
	    	
	    	init() {
	    		
	            var mobileSelect4 = new MobileSelect({
	                trigger: "#trigger4",
	                title: "选择开户行",
	                wheels: [
	                    {data:this.data }
	                ],
	                callback:function(indexArr, data){
	                    console.log(data);
	                }
	            });
	        },
	    },
        mounted(){
        	this.init();
        },
       
		computed: {
		  getUserData() {
		    return this.data=this.$store.state.bankList;
		  }
		},
		watch: {
		  getUserData(val) {
		    this.data = val;
		  }
		},
        
    }
</script>




<style lang="less" scoped>
@import '../less/config.less';
	#trigger4{
		font-size: 0.42667rem;
	}

</style>